package yuxi.com.kotlin.bugly

import com.tencent.bugly.crashreport.CrashReport
import yuxi.com.kotlin.MyApp

/**
 * Created by Administrator on 2018/8/14.
 */
class DataSaver {
    var count = 0
    fun putData(key:String,value:String):Boolean{
        if(count>=9)
            return false
        CrashReport.putUserData(MyApp().instance(),key,value)
        return true
    }
}